package com.md.api.dao;

import com.md.api.entity.SysMessage;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

/**
 * @Author liujie
 * @ClassName SysUserMapper
 * @Date 2022/10/27 15:37
 **/


@Repository
public interface MessageMapper {


    int save(SysMessage message);

    List<SysMessage> list(@Param("phone") String phone, @Param("startTime")Date startTime, @Param("endTime")Date endTime);
}
